import request from '../utils/request';

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};

export const userLogin = query => {
    return request({
        url: '/api/login',
        method: 'post',
        data: query
    })
}

export const get_first_visit_log = query => {
    return request({
        url: '/api/visitLog',
        method: 'get'
    })
}


